/**
 * OperationEvent.as
 * Copyright 2014 Qunhe Tech, all rights reserved.
 * Qunhe PROPRIETARY/CONFIDENTIAL, any form of usage is subject to approval.
 */
package org.bridge.flash.hi2048.view.event
{
    import flash.events.Event;

    /**
     * @author zhangshuai
     */
    public class OperationEvent extends Event
    {
        public static const OPERATE:String = "operate";
        public var keyCode:int;

        public function OperationEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
        {
            super(type, bubbles, cancelable);
        }

        override public function clone():Event
        {
            var cloned:OperationEvent = new OperationEvent(type, bubbles, cancelable);
            cloned.keyCode = keyCode;
            return cloned;
        }
    }
}
